//
//  UICollectionView+collectionView.m
//  QuKeClient
//
//  Created by delicious on 2017/12/1.
//  Copyright © 2017年 delicious. All rights reserved.
//

#import "UICollectionView+collectionView.h"
#import "UIView+Base.h"
@implementation UICollectionView (collectionView)

- (void)config:(void (^)(UICollectionView *collectionView))configollectionViewBlock
{
    //这个也很重要，不然view会被
    if (!self.cellConfigDic) {
        self.cellConfigDic = [NSMutableDictionary dictionary];
    }
    if (!self.viewConfigDic) {
        self.viewConfigDic = [NSMutableDictionary dictionary];
    }
    if (configollectionViewBlock) {
        configollectionViewBlock(self);
    }
}
@end
